package com.hxs.hxsserver.domain.dto.device;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @author liuchuan
 * @create 2024/10/12
 */
@Data
@ApiModel("继电器开关控制")
public class ReturnFactorHis {
    private int id;

    @ApiModelProperty(value = "设备硬件地址码，长度十位")
    private String deviceHardwareAddr;

    @ApiModelProperty(value = "因子名称")
    private String factorName;

    @ApiModelProperty(value = "因子id")
    private int factorId;

    /**
     * 节点编号
     */
    @ApiModelProperty(value = "节点编号")
    private Integer nodeNo;

    /**
     * 因子单位
     */
    @ApiModelProperty(value = "因子单位")
    private String unit;


    /**
     * 排序
     */
    @ApiModelProperty(value = "排序")
    private Integer sort;
    /**
     * 因子值
     */
    @ApiModelProperty(value = "因子值")
    private double value;


    private Date createTime;
}
